
package com.uuah.server.api.session;

import com.uuah.server.api.IUuahMessage;
import com.uuah.server.exception.AbstractUuahServerException;

/**
 * An interface used for reading and writing session information to and from
 * the current message.
 *
 * <p>update record:updator，update time，update content and version</p>
 * @author <a href="jonny_quan@hotmail.com">jonny</a>
 * @date 2009 2009-3-27 上午12:07:20
 * @version 1.0.0
 */
public interface ISessionHandler {

	void storeSessionInfoToMessage(IUuahSession session, IUuahMessage message)
			throws AbstractUuahServerException;

	void retrieveSessionInfoFromMessage(IUuahMessage message, IUuahSession session)
			throws AbstractUuahServerException;

	String getSessionIDKey();
}
